package com.pfsoft.userspringbootstarter.controller;

import com.pfsoft.myspringbootstarter.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author pengfei
 * @date 2022年07月19日 11:55
 */
@RestController
public class TestController {

    @Autowired
    private PersonService personService;



    @RequestMapping("/say")
    public String sayHello(){
        return personService.introduce();
    }


}
